Optimal. Leaf size=427 \[ \frac{3 \log \left (-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}-\frac{3 \log \left (\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}+\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}-\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.530846, antiderivative size = 427, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316, Rules used = {700, 1129, 634, 618, 206, 628} \[ \frac{3 \log \left (-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}-\frac{3 \log \left (\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}+\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}-\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 700
Rule 1129
Rule 634
Rule 618
Rule 206
Rule 628
Rubi steps
\begin{align*} \int \frac{\sqrt{2+3 x}}{a+b x^2} \, dx &=6 \operatorname{Subst}\left (\int \frac{x^2}{9 a+4 b-4 b x^2+b x^4} \, dx,x,\sqrt{2+3 x}\right )\\ &=\frac{3 \operatorname{Subst}\left (\int \frac{x}{\frac{\sqrt{9 a+4 b}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt{2+3 x}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}-\frac{3 \operatorname{Subst}\left (\int \frac{x}{\frac{\sqrt{9 a+4 b}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt{2+3 x}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}\\ &=\frac{3 \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{9 a+4 b}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt{2+3 x}\right )}{2 b}+\frac{3 \operatorname{Subst}\left (\int \frac{1}{\frac{\sqrt{9 a+4 b}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt{2+3 x}\right )}{2 b}+\frac{3 \operatorname{Subst}\left (\int \frac{-\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}{\sqrt [4]{b}}+2 x}{\frac{\sqrt{9 a+4 b}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt{2+3 x}\right )}{2 \sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}-\frac{3 \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}{\sqrt [4]{b}}+2 x}{\frac{\sqrt{9 a+4 b}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt{2+3 x}\right )}{2 \sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}\\ &=\frac{3 \log \left (\sqrt{9 a+4 b}-\sqrt{2} \sqrt [4]{b} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} \sqrt{2+3 x}+\sqrt{b} (2+3 x)\right )}{2 \sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}-\frac{3 \log \left (\sqrt{9 a+4 b}+\sqrt{2} \sqrt [4]{b} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} \sqrt{2+3 x}+\sqrt{b} (2+3 x)\right )}{2 \sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}-\frac{3 \operatorname{Subst}\left (\int \frac{1}{2 \left (2-\frac{\sqrt{9 a+4 b}}{\sqrt{b}}\right )-x^2} \, dx,x,-\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}{\sqrt [4]{b}}+2 \sqrt{2+3 x}\right )}{b}-\frac{3 \operatorname{Subst}\left (\int \frac{1}{2 \left (2-\frac{\sqrt{9 a+4 b}}{\sqrt{b}}\right )-x^2} \, dx,x,\frac{\sqrt{2} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}{\sqrt [4]{b}}+2 \sqrt{2+3 x}\right )}{b}\\ &=\frac{3 \tanh ^{-1}\left (\frac{\sqrt [4]{b} \left (\frac{\sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}{\sqrt [4]{b}}-\sqrt{2} \sqrt{2+3 x}\right )}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}-\frac{3 \tanh ^{-1}\left (\frac{\sqrt [4]{b} \left (\frac{\sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}{\sqrt [4]{b}}+\sqrt{2} \sqrt{2+3 x}\right )}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}+\frac{3 \log \left (\sqrt{9 a+4 b}-\sqrt{2} \sqrt [4]{b} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} \sqrt{2+3 x}+\sqrt{b} (2+3 x)\right )}{2 \sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}-\frac{3 \log \left (\sqrt{9 a+4 b}+\sqrt{2} \sqrt [4]{b} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}} \sqrt{2+3 x}+\sqrt{b} (2+3 x)\right )}{2 \sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}+\sqrt{9 a+4 b}}}\\ \end{align*}
Mathematica [A] time = 0.139488, size = 133, normalized size = 0.31 \[ \frac{\sqrt{3 \sqrt{-a}-2 \sqrt{b}} \tan ^{-1}\left (\frac{\sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{3 \sqrt{-a}-2 \sqrt{b}}}\right )-\sqrt{3 \sqrt{-a}+2 \sqrt{b}} \tanh ^{-1}\left (\frac{\sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{3 \sqrt{-a}+2 \sqrt{b}}}\right )}{\sqrt{-a} b^{3/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.227, size = 944, normalized size = 2.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{3 \, x + 2}}{b x^{2} + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.23057, size = 721, normalized size = 1.69 \begin{align*} -\frac{1}{2} \, \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \log \left (a b^{2} \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) + \frac{1}{2} \, \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \log \left (-a b^{2} \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) + \frac{1}{2} \, \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \log \left (a b^{2} \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) - \frac{1}{2} \, \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \log \left (-a b^{2} \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.2523, size = 56, normalized size = 0.13 \begin{align*} 6 \operatorname{RootSum}{\left (20736 t^{4} a^{2} b^{3} + 576 t^{2} a b^{2} + 9 a + 4 b, \left ( t \mapsto t \log{\left (576 t^{3} a b^{2} + 8 t b + \sqrt{3 x + 2} \right )} \right )\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]